package Object;

/**
 * @author jklu
 * 对象--->图片，存放图片的各种信息
 */

public class Pic {
    private int number;     //序号
    private int width;      //宽度
    private int height;     //高度
    private String title;   //标题
    private String url;     //源地址
    private String type;    //格式

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Pic(int number, int width, int height, String title, String url, String type){
        setNumber(number);
        setHeight(height);
        setWidth(width);
        setUrl(url);
        setTitle(title);
        setType(type);
    }
}
